home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Shareware Plus / Development / SpriteWorld 2.2 / SpriteWorld files / Utils / About these files next >
Encoding:
Text File  |  1998-03-17  |  2.2 KB  |  27 lines  |  [TEXT/ttxt]

  1. The files in this folder aren't part of the core SpriteWorld engine itself, but are either optional add-on files that add extra capabilities to your SpriteWorld-based programs (such as scaling or rotating), or are files that are used by several of the demos, and have been moved here to cut down on disk space. Here's a brief rundown of the files:
  2.  
  3. Files that are used by the SpriteWorld demos:
  4.  
  5. SWApplication.c - contains basic functions that nearly any application needs
  6.  
  7. SWDialogUtils.c - misc. dialog utils used by SpriteTest and Brian's Extended SpriteTest.
  8.  
  9. SWFPSReport.c - a quick hack that allows you to easily get a rought estimate of the frame rate of a demo.
  10.  
  11. SWGameUtils.c - various useful functions, such as getting a random number, hiding the menu bar, etc. See the various SpriteWorld demos for an example of how to use them.
  12.  
  13.  
  14. Files that provide additional capabilities:
  15.  
  16. Brian's Extensions (folder) - an excellent collection of functions that allow you to do everything from scaling and rotating to translucent blitting and lighting effects. Runs best on a PowerMac. 
  17.  
  18. Circular Scrolling.c - allows you to do circular scrolling.
  19.  
  20. Multi-Screen Scrolling.c - allows you to have more than one view of the same scrolling world.
  21.  
  22. SWDitherDown.c - allows you to reload a sprite's image while dithering it, using CopyBits' dither function. The main use of this file would be to improve the look of your program when running in color depths less than what the game was designed to run in, without including graphics drawn specifically for that depth.
  23.  
  24. SWFastLine.c - a line blitter that allows you to draw lines extremely quickly. No clipping is performed, so you must make sure the line fits where you're drawing it. Currently, this file only compiles under Think C. If anyone can get it to compile with CodeWarrior, please send me (Vern) your version!
  25.  
  26.  
  27. In case you're wondering why most filenames start with "SW", it's not because these are a necessary part of SpriteWorld itself, but simply because some of the names (such as Application.c) had been conflicting with files of the same name users already had in their compiler's folder. Adding SW to the beginning of each name eliminated the problem.